# -*- coding: utf-8 -*-
"""
Created on Fri May 09 21:03:28 2014

@author: Maxim
"""

from math import *
import numpy as np
import convert

#br = 27.9
#halfSpan = 27.8/2. - 0.1
#le = np.radians(55)
#te = np.radians(30)
#
#seg = [3.71, 6.64, halfSpan-3.71-6.64]
#
#offset = np.zeros(3)
#chord = np.zeros(4)
#chord[0] = br
#
#for i in range(3):
#    offset[i] = seg[i]*tan(le)
#    print '%.4f\t%.4f'%(convert.ft_to_m(offset[i]), convert.ft_to_m(seg[i]))
#
#print '\n'
#for i in range(1,4):
#    chord[i] = chord[i-1]-seg[i-1]*(tan(le)+tan(te))
#
#for c in chord:
#    print '%.4f'%convert.ft_to_m(c)

scale = 27.8 / 624.51
print convert.ft_to_m(412.*scale)